﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.DAL.EF.DAO
{
    public interface IRepository<T> where T : class, new()
    {
        T Create();
        T Update(T entity);
        T Insert(T entity);
        void Delete(T entity);
        T Find(params object[] keyValues);
        List<T> FindAll();
    }
}
